export const WarMask = 4096-1;
export const  enum EWarMask
{
    HEAL=1,
    RANGEHEAL=2,
    ATTACK=4,
    RANGEATTACK=8,
    RANGEMASSATTACK=16,
    DISMANTLE=32,
    MOVE=64,
}
export const priority = {
    SSS:1<<9,
    SS:1<<8,
    S:1<<7,
    A:1<<6,
    B:1<<5,
    C:1<<4,
    D:1<<3,
    E:1<<2,
    F:1<<1,
}
export const enum EArmyState
{
    StateMarch=1,
    StateCombat=2,

}
export const MoveTip: { [key in DirectionConstant]: string } = {
    1: '↑',
    2: '↗',
    3: '→',
    4: '↘',
    5: '↓',
    6:'↙',
    7:'←',
    8: '↖'
 };


 export const depoColldown = 100;
 export const power_limit = 3000;
 export const power_limit2 = 6000;
 export const repair_addition = 100000;
 export const max_TransactionCost= 50000;   // 最大路费
 export const normal_carry_max=1500;
 export const t2_pb_max=5000;
export const claim_energy_limit=1250;   // 房间能量达到1250后才出 claimer
export const level_outmine_road = 7;    // 外矿挂载房间达到6级后才修路
// export const market_price_limit:Record<MarketResourceConstant,number>={
//     [RESOURCE_ENERGY]:7
// } as any;
export const market_price_limit:Record<string,Record<MarketResourceConstant,number>>={
    shard0:{
        [RESOURCE_ENERGY]:6
    },
    shard1:{
        [RESOURCE_ENERGY]:6
    },
    shard2:{
        [RESOURCE_ENERGY]:6
    },
    shard3:{
        [RESOURCE_ENERGY]:4
    },
} as any;
